package com.ccb.sc.common.modules.order.vo;

import com.ccb.sc.common.modules.goods.vo.GoodsCommentCreateVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author ken
 * @version 1.0
 * @date 2020-10-14
 */
@Data
public class OrderCommentCreateVo implements Serializable {

    @ApiModelProperty("订单id")
    @NotNull
    private String orderId;

    @ApiModelProperty("是否匿名")
    private Boolean isAnonymous = Boolean.FALSE;

    @ApiModelProperty("商品项评价")
    private List<GoodsCommentCreateVo> item;

    @ApiModelProperty("包装评分")
    @NotNull
    private Integer packageScore;

    @ApiModelProperty("服务评分")
    @NotNull
    private Integer serviceScore;

    @ApiModelProperty("物流评分")
    @NotNull
    private Integer shippingScore;
}
